<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>IDA SDK: Obsolete add_chooser_command()</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">IDA SDK
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="files.html"><span>Header&#160;Files</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a>  </div>
  <div class="headertitle">
<div class="title">Obsolete add_chooser_command()</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gac513bb09268d5a16bea0f81bdba71a15"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__add__chooser__command.html#gac513bb09268d5a16bea0f81bdba71a15">CHOOSER_NO_SELECTION</a>&#160;&#160;&#160;0x01</td></tr>
<tr class="memdesc:gac513bb09268d5a16bea0f81bdba71a15"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flags.  <a href="#gac513bb09268d5a16bea0f81bdba71a15">More...</a><br /></td></tr>
<tr class="separator:gac513bb09268d5a16bea0f81bdba71a15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga90b5a1229c0c2de003e4958491c4b992"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__add__chooser__command.html#ga90b5a1229c0c2de003e4958491c4b992">CHOOSER_MULTI_SELECTION</a>&#160;&#160;&#160;0x02</td></tr>
<tr class="memdesc:ga90b5a1229c0c2de003e4958491c4b992"><td class="mdescLeft">&#160;</td><td class="mdescRight">enable for multiple selections.  <a href="#ga90b5a1229c0c2de003e4958491c4b992">More...</a><br /></td></tr>
<tr class="separator:ga90b5a1229c0c2de003e4958491c4b992"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga279bb390c370299e10efd7df8f7e2675"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga279bb390c370299e10efd7df8f7e2675"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__add__chooser__command.html#ga279bb390c370299e10efd7df8f7e2675">CHOOSER_POPUP_MENU</a>&#160;&#160;&#160;0x04</td></tr>
<tr class="memdesc:ga279bb390c370299e10efd7df8f7e2675"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add command to the popup menu. <br /></td></tr>
<tr class="separator:ga279bb390c370299e10efd7df8f7e2675"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4c4495be1f66e4e0c60761dfa43f555f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__add__chooser__command.html#ga4c4495be1f66e4e0c60761dfa43f555f">CHOOSER_MENU_EDIT</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:ga4c4495be1f66e4e0c60761dfa43f555f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Values of the `menu_index` parameter.  <a href="#ga4c4495be1f66e4e0c60761dfa43f555f">More...</a><br /></td></tr>
<tr class="separator:ga4c4495be1f66e4e0c60761dfa43f555f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga79cd090af6c8ef9f3a31df551d727cf4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga79cd090af6c8ef9f3a31df551d727cf4"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__add__chooser__command.html#ga79cd090af6c8ef9f3a31df551d727cf4">CHOOSER_MENU_JUMP</a>&#160;&#160;&#160;1</td></tr>
<tr class="memdesc:ga79cd090af6c8ef9f3a31df551d727cf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obsolete. Please don't use. <br /></td></tr>
<tr class="separator:ga79cd090af6c8ef9f3a31df551d727cf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5e8891c5348f18d91757991128371df8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga5e8891c5348f18d91757991128371df8"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__add__chooser__command.html#ga5e8891c5348f18d91757991128371df8">CHOOSER_MENU_SEARCH</a>&#160;&#160;&#160;2</td></tr>
<tr class="memdesc:ga5e8891c5348f18d91757991128371df8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obsolete. Please don't use. <br /></td></tr>
<tr class="separator:ga5e8891c5348f18d91757991128371df8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga1e555752c06a12f625b626659e2e36f5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1e555752c06a12f625b626659e2e36f5"></a>
typedef <a class="el" href="structchooser__t_1_1cbret__t.html">chooser_t::cbret_t</a> <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__add__chooser__command.html#ga1e555752c06a12f625b626659e2e36f5">chooser_cb_t</a>(<a class="el" href="structchooser__t.html">chooser_t</a> *chobj, <a class="el" href="pro_8h.html#ab65ed42d67e6c517c746ff2a6a187016">ssize_t</a> n)</td></tr>
<tr class="memdesc:ga1e555752c06a12f625b626659e2e36f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">single selection chooser callback <br /></td></tr>
<tr class="separator:ga1e555752c06a12f625b626659e2e36f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga620257e72596dd5599bab462aed01e9e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga620257e72596dd5599bab462aed01e9e"></a>
typedef <a class="el" href="structchooser__base__t.html#a753ae8c73ea5a644ee31571ab5c0e27f">chooser_base_t::cbres_t</a> <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__add__chooser__command.html#ga620257e72596dd5599bab462aed01e9e">chooser_multi_cb_t</a>(<a class="el" href="structchooser__multi__t.html">chooser_multi_t</a> *chobj, <a class="el" href="pro_8h.html#a3fb92c6beff4e1e004a4ef5a2e356391">sizevec_t</a> *sel)</td></tr>
<tr class="memdesc:ga620257e72596dd5599bab462aed01e9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">multi selection chooser callback <br /></td></tr>
<tr class="separator:ga620257e72596dd5599bab462aed01e9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="gac513bb09268d5a16bea0f81bdba71a15"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHOOSER_NO_SELECTION&#160;&#160;&#160;0x01</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Flags. </p>
<p>enable even if there's no selected item. `n` will be NO_SELECTION for a callback. </p>

</div>
</div>
<a class="anchor" id="ga90b5a1229c0c2de003e4958491c4b992"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHOOSER_MULTI_SELECTION&#160;&#160;&#160;0x02</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>enable for multiple selections. </p>
<p>A callback of type `chooser_multi_cb_t` will be called for all selected items. </p>

</div>
</div>
<a class="anchor" id="ga4c4495be1f66e4e0c60761dfa43f555f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHOOSER_MENU_EDIT&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Values of the `menu_index` parameter. </p>
<p>Obsolete. Please don't use </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
